package com.lbd.email.bean;

import com.lbd.base.bean.AbstractEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Lob;

/**
 * 邮件日志
 * Created by zzl on 2016/10/11.
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@DynamicUpdate
@Entity
public class EmailLog extends AbstractEntity {
    //收件人
    private String consignee;
    //内容
    @Lob
    private String content;
    //状态0失败,1成功
    private int state;
}
